package com.datang.pet.mapper;

import com.datang.pet.pojo.ShoppingCar;
import com.datang.pet.pojo.ShoppingCarExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingCarMapper {
    long countByExample(ShoppingCarExample example);

    int deleteByExample(ShoppingCarExample example);

    int insert(ShoppingCar record);

    int insertSelective(ShoppingCar record);

    List<ShoppingCar> selectByExample(ShoppingCarExample example);

    int updateByExampleSelective(@Param("record") ShoppingCar record, @Param("example") ShoppingCarExample example);

    int updateByExample(@Param("record") ShoppingCar record, @Param("example") ShoppingCarExample example);
}